package io.renren.modules.com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.com.dao.ComContractAssetDao;
import io.renren.modules.com.entity.ComContractAssetEntity;
import io.renren.modules.com.service.ComContractAssetService;



@Service("comContractAssetService")
public class ComContractAssetServiceImpl implements ComContractAssetService {
	@Autowired
	private ComContractAssetDao comContractAssetDao;
	
	@Override
	public ComContractAssetEntity queryObject(Long serialNo){
		return comContractAssetDao.queryObject(serialNo);
	}
	
	@Override
	public List<ComContractAssetEntity> queryList(Map<String, Object> map){
		return comContractAssetDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return comContractAssetDao.queryTotal(map);
	}
	
	@Override
	public void save(ComContractAssetEntity comContractAsset){
		comContractAssetDao.save(comContractAsset);
	}
	
	@Override
	public void update(ComContractAssetEntity comContractAsset){
		comContractAssetDao.update(comContractAsset);
	}
	
	@Override
	public void delete(Long serialNo){
		comContractAssetDao.delete(serialNo);
	}
	
	@Override
	public void deleteBatch(Long[] serialNos){
		comContractAssetDao.deleteBatch(serialNos);
	}
	
}
